package com.mt.api.modules.manager;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mt.api.modules.domain.AppOrderDetail;

import java.util.List;

/**
 * @Author: plover
 * @Date: 2022-01-02
 * @Description:
 */
public interface IOrderDetailManager extends IService<AppOrderDetail> {

    List<AppOrderDetail> getListByOrderIds(List<Integer> orderIds);

    List<AppOrderDetail> getOrderDetailByOrderId(Integer orderId);

    int plusOutStoreQty(Integer id, Integer qty);

    int subtractOutStoreQty(Integer id, Integer qty);

    int getSalesQtyByCargoId(Integer cargoId);

}
